/*
*  mongolass 比 mongoose 更轻量， 功能也较少
*
* */
import Mongolass from 'mongolass';
import config from 'config-lite';
import log4js from 'log4js';

const log = log4js.getLogger("mongolass")
log.info("ahah")

const mongolass = new Mongolass(config.mongodb);
if (mongolass){
    log.info("mongolass connection success"+ mongolass)
}

export {mongolass}

